﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMoney.IStock.Client.Models.QQ
{
    /// <summary>
    /// 排行榜
    /// </summary>
    [Serializable]
    public class BaseRank
    {
        public string code { get; set; }
        public string msg { get; set; }
        public List<Rank> data { get; set; }
    }

    /// <summary>
    /// 排行榜
    /// </summary>
    [Serializable]
    public class Rank
    {
        /// <summary>
        /// 排名
        /// </summary>
        public string rank_id { get; set; }
        /// <summary>
        /// QQ号码
        /// </summary>
        public string user_qq { get; set; }
        /// <summary>
        /// 总收益
        /// </summary>
        public decimal total_earning { get; set; }
        /// <summary>
        /// 日收益
        /// </summary>
        public decimal day_earning { get; set; }
        /// <summary>
        /// 周收益
        /// </summary>
        public decimal week_earning { get; set; }
        /// <summary>
        /// 总资产
        /// </summary>
        public decimal total_asset { get; set; }
        /// <summary>
        /// 仓位
        /// </summary>
        public decimal position { get; set; }
        /// <summary>
        /// 排名值
        /// </summary>
        public int rank_key { get; set; }

        public int rank_day_key { get; set; }

        public int rank_week_key { get; set; }

        public int province { get; set; }
        /// <summary>
        /// 排行更新时间
        /// </summary>
        public string c_time { get; set; }

        public int rank_arrow { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string nickname { get; set; }
    }
}
